/**
* @author Zakaria 
*/

package sn.ugb.cours.zd.tools.shell;

import java.io.PrintStream;

public class SimpleQuitCommandImpl implements ShellCommand {
	@SuppressWarnings("unused")
	private ShellContext _context = null;

	public SimpleQuitCommandImpl(ShellContext context){
		_context = context;
	}

	public String getName(){
		return "quit";
	}

	public String getUsage(){
		return "\n quit                                                 \n";
	}

	public String getShortDescription(){
		return "Quit the shell";
	}

	public void execute(String s, PrintStream out, PrintStream err) {
		System.exit(0);
		return;
	}
}
